body, * {
  padding: 0;
  margin: 0;
  font-size: 14px;
}

body::-webkit-scrollbar {
  width: 0;
}

/* 全局的格式展示 */
.page-warp {
  width: 100%;
  height: 100%;
  /* height: calc(100vh - 24px); */
  flex: 1;
  background-color: #fff;
  /* margin: 10px; */
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pointer {
  cursor: pointer;
}

.message {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  /* font-weight: 600; */
  padding: 8px 16px;
  min-width: 100px;
  text-align: center;
  transition: opacity .2s;
  border-radius: 4px;
  font-size: 14px;
  z-index: 999;
}

.success {
  color: #67c23a;
  background-color: #f0f9eb;
}

.info {
  color: #909399;
  background-color: #f4f4f5;
}

.alert {
  color: #e6a23c;
  background-color: #fdf6ec;
}

.error {
  color: #f56c6c;
  background-color: #fef0f0;
}

button {
  border: none ;
  background-color: rgba(0, 0, 0, 0);
  color: #409eff;
  padding: 0 4px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.primary-btn, .cancel-btn {
  background-color: #409eff;
  color: #fff;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  min-width: 60px;
}

.cancel-btn {
  color: #909399;
  background-color: #fff;
  border: 1px solid #d3d4d6;
}

.del-btn-text {
  color: #f56c6c;
}

.disabled-btn {
  color: #bcbec2;
  cursor: not-allowed;
  background-color: #f4f4f5;
}

.loading {
  animation: rotate 2s linear infinite;
  width: 15px !important;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.edit-content {
  margin-bottom: 10px;
}

table, th, td {
  border: 1px solid rgba(0, 0, 0, 0.15) ; /** #ebeef5 */
  border-collapse: collapse; /* 消除双边框效果 */
  color: #606266;
}

th,td {
  padding: 4px 8px;
}

.even {
  background-color: rgba(217, 236, 255, 0.3);
}
#status-content {
  width: 100vw;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  /* display: flex;
  flex-direction: column;
  height: 100vh; */
}

.table-content {
  flex: 1;
  overflow: auto;
  /* display: flex; */
  /* flex-direction: column; */
}
table {
  width: 100%;
  animation: all .5s;
  flex: 1;
  overflow: auto;
}

.center {
  text-align: center;
}

.status-false::before, .status-true::before {
  display: inline-block;
  font-size: 0;
  content: ' , ';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.status-true::before {
  color: #fff;
  background-color: #67c23a;
}

.status-false::before {
  color: #fff;
  background-color: #f56c6c;
}

.text-true {
  color: #67c23a;
  text-align: center;
}

.text-false {
  color: #f56c6c;
  text-align: center;
}

.dis-num {
  position: relative;
  top: 10px;
}
.scheme-show {
  display: flex;
}
.scheme-msg {
  flex: 1;
  /* justify-content: center; */
  display: flex;
}
.scheme-msg-item {
  flex: 1;
  text-align: left;
}
img {
  width: 16px;
  position: relative;
  top: 3px;
  cursor: pointer;
}

.area-title {
  background-color: #ecf5ff;
}

.cross-title {
  background-color: #fdf6ec;
}

.width-30 {
  width: 30px;
}

.width-45 {
  width: 45px;
}

.width-120 {
  width: 120px;
}

.width-150 {
  width: 150px;
}
.no-data {
  color: #ccc;
  text-align: center;
  padding: 50px;
}

.margin-sm {
  margin-left: 8px;
  display: inline-block;
}

/* 抽屉的内容 */
.drawer {
  position: fixed;
  left: 0;
  top: 0;
  width: 80%;
  height: 100vh;
  background-color: #fff;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);
  /* padding: 16px; */
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: all .5s;
}

.close-drawer-img {
  width: 20px;
  cursor: pointer;
}

.hidden-scheme {
  left: -1200px;
  width: 0;
  padding: 0;
}

.drawer-title {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  align-items: center;
  border-bottom: 1px solid #ccc;
  /* line-height: 50px; */
  padding: 10px;
}

.drawer-content {
  overflow: auto;
  flex: 1;
  padding: 10px;
  display: flex;
}

.drawer-content-item {
  min-width: 280px;
  flex: 1;
  margin-right: 10px;
}
.drawer-content-item:last-child {
  margin-right: 0;
}
/* 抽屉的内容 结束 */


.msg-item {
  padding: 8px 0;
  display: flex;
}

.msg-item-label {
  flex: 0 0 60px;
  text-align: right;
  margin-right: 8px;
  color: rgba(0, 0, 0, 0.7);
}

.msg-item-value {
  font-weight: 500;
}

.title-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.common-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;

  &::before {
    content: ' ';
    display: inline-block;
    width: 3px;
    height: 20px;
    background-color: #489ffc;
    position: relative;
    top: 0;
    margin-right: 8px;
  }
}

.first-title {
  font-size: 18px;
  font-weight: 600;
  /* margin-top: 8px;
  margin-bottom: 8px; */
  display: flex;
  align-items: center;

  &::before {
    content: ' ';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #489ffc;
    position: relative;
    top: 0;
    margin-right: 8px;
    border-radius: 50%;
  }
}

.stage-item {
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  margin-bottom: 8px;
}

select {
  height: 30px;
}

.drawer-footer {
  text-align: right;
  padding: 10px;
  border-top: 1px solid #ccc;
}

input, select {
  height: 32px;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  padding: 0 10px;
}

input:disabled, select:disabled {
  background-color: #f5f6f7;
  cursor: not-allowed;
  opacity: 0.7;
}

input:focus-visible, select:focus-visible {
  outline: none;
  border-color: #409eff;
}

option:disabled {
  background-color: rgba(0,0,0,0.06)
}

/* 适用于大多数现代浏览器 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.tabs {
  display: flex;
}
.tab-item {
  padding: 5px 10px;
  cursor: pointer;
  /* margin-bottom: 10px; */
}
.active-tab {
  color: #409eff;
  /* border-bottom: 1px solid #409eff; */
}

/* 手写复选框的样式 */
.checkbox {
  width: 18px;
  height: 18px;
  background-color: #fff;
  position: relative;
  /* left: 50%;
  transform: translateX(-50%); */
  border: 1px solid rgba(0, 0, 0, 0.3);
  display: inline-block;
}
.checkbox.circle {
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.checkbox.checked {
  background-color: #67c23a;
  border: 1px solid #67c23a;
  /* border: none; */
}
.checkbox.checkedBlink {
  animation: blink 1s linear infinite;
  background-color: #67c23a;
  border: 1px solid #67c23a;
}


.checked::after {
  content: '';
  background-image: url('../assets/duihao.png');
  background-size: contain;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 0;
}
.circle::after {
  content: '';
  background-image: none;
}

@keyframes blink {
  from {
    background-color: #67c23a;
  }
  to {
    background-color: rgba(0, 0, 0, 0.1);
  }
}

/* 弹窗样式 */
.dialog {
  min-width: 500px;
  min-height: 300px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.dialog-cover {
  width: calc(100% + 36px);
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
}
.dialog .dialog-title {
  width: 100%;
  flex: 0 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #ccc;
}

.dialog .dialog-content {
  width: 100%;
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.dialog .dialog-footer {
  width: 100%;
  flex: 0 0 50px;
  display: flex;
  justify-content: end;
  align-items: center;
  border-top: 1px solid #ccc;
}

.alert-dialog {
  min-height: 120px;
  width: 300px;
  z-index: 7;
}
.alert-dialog .alert-dialog-title {
  border: none;
  display: flex;
  font-size: 18px;
}
.alert-dialog .alert-dialog-footer {
  border: none;
}
.alert-dialog-cover {
  z-index: 6;
}
.radio {
  display: flex;
  align-items: center;
}

.green-split {
  min-width: 280px;
}

.page-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  flex-direction: column;
}

.iframe-container {
  width: 100%;
  flex: 1;
  overflow: hidden;
  /* margin-top: -11px; */
  background-color: #f0f2f5;
  border: none !important;
  padding: 10px;
  box-sizing: border-box;
}

.page-select {
  display: flex;
  /* margin-bottom: 10px; */
  padding-top: 5px;
  background-color: #fff;
  /* color: #303133; */
}

.page-select .select-item {
  margin: 0 10px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.5s;
  font-weight: 600;
  border-bottom: 3px solid rgba(0, 0, 0, 0);
}

.page-select .select-item.active-select {
  color: #489ffc;
  border-bottom: 3px solid #489ffc;
  /* z-index: 999; */
}

.login-out {
  position: absolute;
  right: 10px;
  top: 5px;
  padding: 4px 8px;
  cursor: pointer;
  font-weight: 600;
  color: #409eff;
  width: 20px;
}